<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Title')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-title" data-rule="required" class="form-control" name="row[title]" type="text">
        </div>
    </div>


    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Entry_year')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-entry_year" data-rule="required" class="form-control" name="row[entry_year]" type="number">
        </div>
    </div>
    {if $is_show == 1}
    <div class="form-group" >
        <label class="control-label col-xs-12 col-sm-2">选择教师:</label>
        <div class="col-xs-12 col-sm-8">
            <select name="row[profile_id]" id="c-profile_id" data-rule="required" class="form-control">
                <option value="">---请选择---</option>
                {foreach name="tlist" item="vo"}
                    <option value="{$vo.profile_id}">{$vo.realname}</option>
                {/foreach}
            </select>
        </div>
    </div>
    {/if}
     <div class="form-group">
       <label class="control-label col-xs-12 col-sm-2">{:__('Requireverify')}:</label>
       <div class="col-xs-12 col-sm-8">
           <div class="radio">
               {foreach name="requireVerifyList" item="vo"}
               <label for="row[requireVerify]-{$key}"><input id="row[requireVerify]-{$key}" name="row[requireVerify]" type="radio" value="{$key}" {in name="key" value="0"}checked{/in} /> {$vo}</label>
               {/foreach}
           </div>
       </div>


   </div>


    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
